package com.sun.es;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@EnableJpaRepositories(basePackages = "com.sun.es.repository")
@SpringBootApplication(exclude= { DataSourceAutoConfiguration.class })
public class SpringBootEsApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootEsApplication.class, args);
    }

    @Override
    public void run(String... args) {
        System.out.println("项目启动完成！");
    }

}
